package com.pllandxzx.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pll.pojo.Card;
import com.pll.pojo.Order;
import com.pll.pojo.User;
import com.pllandxzx.bean.UserDetail;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper extends BaseMapper<User>
{
    UserDetail detail(Integer userId);
    List<Card> cardDetail(Integer userId);
    Integer userCardCount(Integer userId);

    List<Order> orderDetail(Integer userId);
}
